-
Home
-
YayPricing – WooCommerce Dynamic Pricing & Discounts
-
3.3
-
Code
-
Classes
- YAYDP_Cart_Discount_Manager
Total Complexity |
36 |
Dependencies |
6 |
Dependents |
1 |
Total lines |
224 |
Lines of code |
138 |
Logical lines of code |
89 |
Comment lines |
52 |
Methods |
11 |
Properties |
3 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_shop_coupon_data() |
S |
53 |
6 |
22 |
remove_yaydp_discounts() |
S |
56 |
5 |
18 |
change_coupon_message() |
S |
58 |
5 |
16 |
change_coupon_error() |
S |
58 |
5 |
16 |
change_coupon_label() |
S |
57 |
4 |
16 |
change_coupon_html() |
S |
57 |
4 |
16 |
calculate_pricings() |
S |
58 |
3 |
15 |
__construct() |
S |
61 |
1 |
11 |
before_calculate_pricings() |
S |
82 |
1 |
3 |
after_calculate_pricings() |
S |
91 |
1 |
2 |
handle_use_time() |
S |
79 |
1 |
3 |